/**
 * 
 */
package com.vision.sales.cm.serv.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sencha.gxt.data.shared.loader.PagingLoadResult;
import com.vision.core.cm.serv.rpc.AbstractServiceAsync;
import com.vision.sales.cl.ui.component.TransactionLoadConfig;
import com.vision.sales.cm.db.data.Customer;
import com.vision.sales.cm.db.data.TransactionEntry;

/**
 * @author Mark
 *
 */
public interface CustomerServiceAsync extends AbstractServiceAsync<Customer> {  

	void getCustomerNameAndIdOnly(AsyncCallback<List<Customer>> callback);
	
	void getTransactions(TransactionLoadConfig config, AsyncCallback<PagingLoadResult<TransactionEntry>> callback);
	
}
